<?php
/**
 *	@package WordPress
 *	@subpackage Carbon_Paper
 */

/**
 *      Template Name: Creation
 *
 */
get_header();
?>

<div class="clear"></div>
<div id="cover">&nbsp;</div>

<?php 
global $wp_query;

$args = array(
	'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1, 
	'post_type' => array('creation'),
	'orderby' => 'post_type post_date',
	'order' => 'DESC'
	);
query_posts( $args );
?>
<div id="posts">
	<?php global $more; if (have_posts()) : while (have_posts()) : the_post(); ?>
		<?php get_template_part('content','selection');?>
	<?php endwhile; ?>
	<?php if ( function_exists( 'cp_render_pagination' ) ) cp_render_pagination();?>
		<p>&nbsp;</p>
		<div class="clear"></div>
	<?php else : ?>
		<?php get_template_part('content','nomatch');?>
	<?php endif; ?>
</div><!-- /#posts -->


<?php get_template_part('second-column','selection'); ?>
<?php if (!is_category()) : get_template_part('third-column','shared'); endif;?>

<?php get_footer(); ?>
</div><!-- /home or articles -->